<form action="return false;" method="POST" id="users">
	<div id="group">
		<div id="check-text"><span>全选</span></div>
		<?php if($sub_menu_index == 1){ ?>
		<div id="check-del">删除</div>
		<?php }else{ ?>
		<div id="check-recover">回收</div>
		<?php } ?>
	</div>
	<div id="list">
		<?php foreach ($users as $user) { ?>
		<div class="user each">
			<div class="check"><input type="checkbox" class="user_id" name="user_ids[]" value="<?php echo $user->user_id; ?>" /></div>
			<div class="username"><?php echo $user->username; ?></div>
			<div class="btn"><a href="<?php echo $site['root'] . 'user/update/base/' . $user->user_id ?>" class="edit"></a><?php if($sub_menu_index == 1){ ?><a href="javascript:void(0)" class="del"></a><?php }else{ ?><a href="javascript:void(0)" class="recover"><?php } ?></a></div>
			<div class="realname"><?php echo $user->realname; ?></div>
			<div class="phone"><?php echo $user->phone; ?></div>
			<div class="create-date"><?php echo date("Y-m-d", $user->create_date); ?></div>
		</div>
		<?php } ?>
	</div>
</form>
